﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Marmat.Foundation
{
    /// <summary>
    /// 视图窗体的模板
    /// </summary>
    public interface IViewForm
    {
        /// <summary>
        /// 设置视图面板的路由
        /// </summary>
        /// <param name="route">路由</param>
        void SetRoute(IViewFormRoute route);

        ///// <summary>
        ///// 获取路由
        ///// </summary>
        ///// <returns></returns>
        //IViewFormRoute GetRoute();

        /// <summary>
        /// 设置视图面板的控制器
        /// </summary>
        /// <param name="controller">控制器</param>
        void SetController(IViewFormController controller);

        ///// <summary>
        ///// 获取视图面板的控制器
        ///// </summary>
        ///// <returns></returns>
        //IViewFormController GetController();
    }
}
